<template>
    <div id="vuexDecreaseCount">
        <button @click="handleAecrease">减一</button>
        vuexDecreaseCount
    </div>
</template>
<script>
export default {
    name: "vuexDecreaseCount",
    components: {},
    data() {
        return {};
    },
    methods:{
        handleAecrease:function () {
            this.$store.commit('increment',-1)
        }
    }
};
</script>
<style scoped>

</style>